import {Space} from "antd";
import "./TextShow.css";
interface IProps{
    key_: string,
    value: string,
    keyWidth?: number
}
const TextShow = (props: IProps) => {
    const { key_, value, keyWidth=70 } = props;

    return (
        <Space className={"jasmine-text-show"}>
            <div style={{ width: `${keyWidth}px` }} className={"jasmine-text-show-key"}>{key_}</div>
            <div className={"jasmine-text-show-value"}>{value}</div>
        </Space>
    );
};

export default TextShow;